﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Alertador.ascx.cs" Inherits="Alertador" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Panel ID="pnlAlertas" runat="server" Height="99px" Width="200px">
            <table style="width: 100%; border-right: #003399 1px solid; border-top: #003399 1px solid; border-left: #003399 1px solid; border-bottom: #003399 1px solid; background-color: #ffffff;" cellpadding="0" cellspacing="0">
                <tr style="height:5px;">
                    <td align="left" style="background-color: #99ccff; border-bottom: #003399 1px solid; height: 5px;">
                        &nbsp;<strong><span style="font-size: 10pt; color: #ffffff; font-family: Arial">Alarmas</span></strong></td>
                    <td style="background-color: #99ccff; border-bottom: #003399 1px solid; height: 5px;">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Styles/Icons/close.gif" OnClick="ImageButton1_Click" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; background-color: #ffffff;">
                    </td>
                    <td style="width: 100px; background-color: #ffffff;">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="background-color: #ffffff">
                        <asp:Label ID="lblMessage" runat="server" Font-Names="Arial" Font-Size="8pt" Font-Bold="True" ForeColor="#FF0033"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="2" style="background-color: #ffffff">
                        <strong><span style="font-size: 8pt">&nbsp;Estanque: </span></strong>
                        <asp:Label ID="lblEstanque" runat="server" Font-Size="8pt"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="2" style="background-color: #ffffff">
                        <strong><span style="font-size: 8pt">&nbsp;Descripción: </span></strong>
                        <asp:Label ID="lblDescripcion" runat="server" Font-Size="8pt"></asp:Label></td>
                </tr>
                <tr>
                    <td align="center" colspan="2" style="background-color: #ffffff">
                        <asp:LinkButton ID="linkVerAlertas" runat="server" PostBackUrl="~/Modules/EnfermedadesControlEstanque/ConsultaAlarmas.aspx"></asp:LinkButton></td>
                </tr>
                <tr>
                    <td style="width: 100px; height: 19px; background-color: #ffffff;">
                    </td>
                    <td style="width: 100px; height: 19px; background-color: #ffffff;">
                    </td>
                </tr>
            </table>
            <cc1:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender1" runat="server"
                TargetControlID="pnlAlertas"
                VerticalSide="Bottom"
                VerticalOffset="20"
                HorizontalSide="Right"
                HorizontalOffset="10"
                ScrollEffectDuration="0.0001">
            </cc1:AlwaysVisibleControlExtender>
        </asp:Panel>
        <br />
        <br />
        <asp:Timer ID="Timer1" runat="server" Interval="5000" OnTick="Timer1_Tick">
        </asp:Timer>
    </ContentTemplate>
</asp:UpdatePanel>
